import Vue from 'vue'
import App from './App.vue'
import router from './router'

Vue.config.productionTip = false

//导入组件库
import ElementUI from 'element-ui';
//引入组件相关样式
import 'element-ui/lib/theme-chalk/index.css';
//配置vue插件 将EL安装到Vue上
Vue.use(ElementUI);
//引入axios
import axios from 'axios'
//vue对象使用axios
Vue.prototype.axios = axios

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
